package cn.geminis.crypto.service.config;

import cn.geminis.web.security.JwtWebSecurityConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.builders.WebSecurity;

/**
 * @author puddi
 */
@Configuration
@Slf4j
public class SecurityConfig extends JwtWebSecurityConfig {

    @Override
    public void configure(WebSecurity web) throws Exception {
        web.ignoring().antMatchers("/**");
        log.info("Manage Spring Security configured");
    }

    @Override
    protected void configure(HttpSecurity httpSecurity) throws Exception {
    }
}
